package com.sonix.base;

import com.tqltech.tqlpencomm.bean.Dot;

public class BeiDot extends Dot {

    public String deviceMac;

    public long timeLong;

    public Dot.DotType dotType;

    public BeiDot(Dot dot, String deviceMac) {
        this.Counter = dot.Counter;
        this.SectionID = dot.SectionID;
        this.OwnerID = dot.OwnerID;
        this.BookID = dot.BookID;
        this.PageID = dot.PageID;
        this.timeLong = dot.timelong;
        this.x = dot.x;
        this.y = dot.y;
        this.fx = dot.fx;
        this.fy = dot.fy;
        this.force = dot.force;
        this.angle = dot.angle;
        this.dotType = dot.type;
        this.ab_x = toAbsolute(dot.x, dot.fx);
        this.ab_y = toAbsolute(dot.y, dot.fy);
        this.deviceMac = deviceMac;
    }
}
